Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Jul 26, 2025

The logo module's -D option has the following syntax:

-D[g|j|J|n|x]refpoint[+hheight|+wwidth][+jjustify][+odx[/dy]] 
  • [g|j|J|n|x]refpoint[+jjustify][+odx[/dy]] is common to GMT embellishments and use the Position class
  • +h: height
  • +w: width

Preview: https://pygmt-dev--4014.org.readthedocs.build/en/4014/api/generated/pygmt.Figure.logo.html

Related to #4165.

@seisman seisman changed the title Figure.logo: Refactor using the new alias system WIP: Figure.logo: Refactor using the new alias system Jul 26, 2025
Base automatically changed from AliasSystem/aliassystem to main July 29, 2025 04:09
@seisman seisman changed the title WIP: Figure.logo: Refactor using the new alias system Figure.logo: Refactor using the new alias system Sep 9, 2025
@seisman seisman added the enhancement Improving an existing feature label Sep 12, 2025
@seisman seisman added this to the 0.17.0 milestone Sep 12, 2025
@seisman seisman changed the title Figure.logo: Refactor using the new alias system Figure.logo: More Pythonic syntax to specify its location and size Sep 12, 2025
@seisman seisman changed the title Figure.logo: More Pythonic syntax to specify its location and size Figure.logo: Add parameters to specify its location and size Sep 12, 2025
@seisman seisman changed the title Figure.logo: Add parameters to specify its location and size Figure.logo: Add parameters to specify the location and size Sep 12, 2025
@seisman seisman marked this pull request as ready for review September 12, 2025 04:45
@seisman seisman added the needs review This PR has higher priority and needs review. label Sep 12, 2025
@seisman seisman changed the title Figure.logo: Add parameters to specify the location and size Figure.logo: Add Pythonic parameters to specify the location and size Sep 12, 2025
@seisman seisman removed the needs review This PR has higher priority and needs review. label Nov 16, 2025
@seisman seisman marked this pull request as draft November 25, 2025 11:38
@seisman seisman changed the title Figure.logo: Add parameters 'position/position_type/anchor/anchor_offset/width/height' to specify the location and size Figure.logo: Add parameters 'position/width/height' to specify the location and size Nov 28, 2025
@seisman seisman changed the base branch from main to params/position December 6, 2025 02:49
@seisman seisman changed the title Figure.logo: Add parameters 'position/width/height' to specify the location and size Figure.logo: Add parameters position/width/height to specify the location and size Dec 7, 2025
@seisman seisman changed the title Figure.logo: Add parameters position/width/height to specify the location and size Figure.logo: Add parameters position/width/height to specify logo position and dimensions Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing feature

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants